﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class DateTimeExtensions
   | CodeJam </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class DateTimeExtensions
   | CodeJam ">
    <meta name="generator" content="docfx 2.23.1.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <meta property="docfx:rel" content="../../">
    
  </head>
  <body data-spy="scroll" data-target="#affix">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../../index.html">
                <img id="logo" class="svg" src="../../images/CodeJam.Main.Icon.png" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items"></div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CodeJam.Dates.DateTimeExtensions">
  
  
  <h1 id="CodeJam_Dates_DateTimeExtensions" data-uid="CodeJam.Dates.DateTimeExtensions" class="text-break">Class DateTimeExtensions
  </h1>
  <div class="markdown level0 summary"><p>Helper methods for date manipulations</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">DateTimeExtensions</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CodeJam.Dates.html">CodeJam.Dates</a></h6>
  <h6><strong>Assembly</strong>: CodeJam.dll</h6>
  <h5 id="CodeJam_Dates_DateTimeExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class DateTimeExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_AddMonths_System_DateTime_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.AddMonths(System.DateTime%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L52">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_AddMonths_" data-uid="CodeJam.Dates.DateTimeExtensions.AddMonths*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_AddMonths_System_DateTime_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.AddMonths(System.DateTime,System.Int32,System.Boolean)">AddMonths(DateTime, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Returns the date resulting from adding the given number of months to this date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime AddMonths(this DateTime date, int monthOffset, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">monthOffset</span></td>
        <td><p>The month offset.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2000/02/28 =&gt; 2000/01/31.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_AddMonths_System_DateTimeOffset_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.AddMonths(System.DateTimeOffset%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L61">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_AddMonths_" data-uid="CodeJam.Dates.DateTimeExtensions.AddMonths*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_AddMonths_System_DateTimeOffset_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.AddMonths(System.DateTimeOffset,System.Int32,System.Boolean)">AddMonths(DateTimeOffset, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Returns the date resulting from adding the given number of months to this date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset AddMonths(this DateTimeOffset date, int monthOffset, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">monthOffset</span></td>
        <td><p>The month offset.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2000/02/28 =&gt; 2000/01/31.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_AddYears_System_DateTime_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.AddYears(System.DateTime%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L92">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_AddYears_" data-uid="CodeJam.Dates.DateTimeExtensions.AddYears*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_AddYears_System_DateTime_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.AddYears(System.DateTime,System.Int32,System.Boolean)">AddYears(DateTime, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Returns the date resulting from adding the given number of years to this date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime AddYears(this DateTime date, int yearOffset, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">yearOffset</span></td>
        <td><p>The year offset.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2001/02/28 =&gt; 2004/02/29.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_AddYears_System_DateTimeOffset_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.AddYears(System.DateTimeOffset%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L101">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_AddYears_" data-uid="CodeJam.Dates.DateTimeExtensions.AddYears*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_AddYears_System_DateTimeOffset_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.AddYears(System.DateTimeOffset,System.Int32,System.Boolean)">AddYears(DateTimeOffset, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Returns the date resulting from adding the given number of years to this date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset AddYears(this DateTimeOffset date, int yearOffset, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">yearOffset</span></td>
        <td><p>The year offset.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2001/02/28 =&gt; 2004/02/29.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_DaysInMonth_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.DaysInMonth(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.NonGenerated.cs/#L22">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_DaysInMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.DaysInMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_DaysInMonth_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.DaysInMonth(System.DateTime)">DaysInMonth(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns count of days in month.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DaysInMonth(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Count of days in month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_DaysInMonth_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.DaysInMonth(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.NonGenerated.cs/#L28">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_DaysInMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.DaysInMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_DaysInMonth_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.DaysInMonth(System.DateTimeOffset)">DaysInMonth(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns count of days in month.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DaysInMonth(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Count of days in month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_DaysInYear_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.DaysInYear(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.NonGenerated.cs/#L34">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_DaysInYear_" data-uid="CodeJam.Dates.DateTimeExtensions.DaysInYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_DaysInYear_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.DaysInYear(System.DateTime)">DaysInYear(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns count of days in year.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DaysInYear(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Count of days in year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_DaysInYear_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.DaysInYear(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.NonGenerated.cs/#L40">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_DaysInYear_" data-uid="CodeJam.Dates.DateTimeExtensions.DaysInYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_DaysInYear_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.DaysInYear(System.DateTimeOffset)">DaysInYear(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns count of days in year.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DaysInYear(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Count of days in year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_FirstDayOfMonth_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.FirstDayOfMonth(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L192">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_FirstDayOfMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.FirstDayOfMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_FirstDayOfMonth_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.FirstDayOfMonth(System.DateTime)">FirstDayOfMonth(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns the first day of month.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime FirstDayOfMonth(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>The first day of month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_FirstDayOfMonth_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.FirstDayOfMonth(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L201">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_FirstDayOfMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.FirstDayOfMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_FirstDayOfMonth_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.FirstDayOfMonth(System.DateTimeOffset)">FirstDayOfMonth(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns the first day of month.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset FirstDayOfMonth(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>The first day of month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_FirstDayOfYear_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.FirstDayOfYear(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L208">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_FirstDayOfYear_" data-uid="CodeJam.Dates.DateTimeExtensions.FirstDayOfYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_FirstDayOfYear_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.FirstDayOfYear(System.DateTime)">FirstDayOfYear(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns the first day of year.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime FirstDayOfYear(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>The first day of year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_FirstDayOfYear_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.FirstDayOfYear(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L217">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_FirstDayOfYear_" data-uid="CodeJam.Dates.DateTimeExtensions.FirstDayOfYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_FirstDayOfYear_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.FirstDayOfYear(System.DateTimeOffset)">FirstDayOfYear(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns the first day of year.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset FirstDayOfYear(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>The first day of year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_LastDayOfMonth_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.LastDayOfMonth(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L198">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_LastDayOfMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.LastDayOfMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_LastDayOfMonth_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.LastDayOfMonth(System.DateTime)">LastDayOfMonth(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns the last day of month.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime LastDayOfMonth(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>The last day of month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_LastDayOfMonth_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.LastDayOfMonth(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L207">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_LastDayOfMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.LastDayOfMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_LastDayOfMonth_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.LastDayOfMonth(System.DateTimeOffset)">LastDayOfMonth(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns the last day of month.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset LastDayOfMonth(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>The last day of month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_LastDayOfYear_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.LastDayOfYear(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L214">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_LastDayOfYear_" data-uid="CodeJam.Dates.DateTimeExtensions.LastDayOfYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_LastDayOfYear_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.LastDayOfYear(System.DateTime)">LastDayOfYear(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns the last day of year.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime LastDayOfYear(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>The last day of year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_LastDayOfYear_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.LastDayOfYear(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L223">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_LastDayOfYear_" data-uid="CodeJam.Dates.DateTimeExtensions.LastDayOfYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_LastDayOfYear_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.LastDayOfYear(System.DateTimeOffset)">LastDayOfYear(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns the last day of year.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset LastDayOfYear(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>The last day of year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_NextDay_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.NextDay(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L160">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_NextDay_" data-uid="CodeJam.Dates.DateTimeExtensions.NextDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_NextDay_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.NextDay(System.DateTime)">NextDay(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns next day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime NextDay(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Next day.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_NextDay_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.NextDay(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L169">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_NextDay_" data-uid="CodeJam.Dates.DateTimeExtensions.NextDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_NextDay_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.NextDay(System.DateTimeOffset)">NextDay(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns next day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset NextDay(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Next day.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_NextMonth_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.NextMonth(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L172">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_NextMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.NextMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_NextMonth_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.NextMonth(System.DateTime)">NextMonth(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns next month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime NextMonth(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Next month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_NextMonth_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.NextMonth(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L181">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_NextMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.NextMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_NextMonth_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.NextMonth(System.DateTimeOffset)">NextMonth(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns next month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset NextMonth(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Next month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_NextYear_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.NextYear(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L184">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_NextYear_" data-uid="CodeJam.Dates.DateTimeExtensions.NextYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_NextYear_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.NextYear(System.DateTime)">NextYear(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns next year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime NextYear(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Next year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_NextYear_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.NextYear(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L193">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_NextYear_" data-uid="CodeJam.Dates.DateTimeExtensions.NextYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_NextYear_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.NextYear(System.DateTimeOffset)">NextYear(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns next year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset NextYear(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Next year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_PrevDay_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.PrevDay(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L154">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_PrevDay_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_PrevDay_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevDay(System.DateTime)">PrevDay(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns previous day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime PrevDay(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Previous date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_PrevDay_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.PrevDay(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L163">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_PrevDay_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_PrevDay_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevDay(System.DateTimeOffset)">PrevDay(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns previous day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset PrevDay(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Previous date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_PrevMonth_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.PrevMonth(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L166">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_PrevMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_PrevMonth_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevMonth(System.DateTime)">PrevMonth(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns previous month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime PrevMonth(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Previous month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_PrevMonth_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.PrevMonth(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L175">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_PrevMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_PrevMonth_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevMonth(System.DateTimeOffset)">PrevMonth(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns previous month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset PrevMonth(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Previous month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_PrevYear_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.PrevYear(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L178">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_PrevYear_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_PrevYear_System_DateTime_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevYear(System.DateTime)">PrevYear(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns previous year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime PrevYear(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Previous year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_PrevYear_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.PrevYear(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L187">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_PrevYear_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_PrevYear_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeExtensions.PrevYear(System.DateTimeOffset)">PrevYear(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns previous year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset PrevYear(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Previous year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithDay_System_DateTime_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithDay(System.DateTime%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L17">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithDay_" data-uid="CodeJam.Dates.DateTimeExtensions.WithDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithDay_System_DateTime_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithDay(System.DateTime,System.Int32)">WithDay(DateTime, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithDay(this DateTime date, int day)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">day</span></td>
        <td><p>The day.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithDay_System_DateTimeOffset_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithDay(System.DateTimeOffset%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L26">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithDay_" data-uid="CodeJam.Dates.DateTimeExtensions.WithDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithDay_System_DateTimeOffset_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithDay(System.DateTimeOffset,System.Int32)">WithDay(DateTimeOffset, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithDay(this DateTimeOffset date, int day)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">day</span></td>
        <td><p>The day.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithMonth_System_DateTime_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithMonth(System.DateTime%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L30">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithMonth_System_DateTime_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonth(System.DateTime,System.Int32)">WithMonth(DateTime, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithMonth(this DateTime date, int month)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithMonth_System_DateTime_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithMonth(System.DateTime%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L38">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithMonth_System_DateTime_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonth(System.DateTime,System.Int32,System.Boolean)">WithMonth(DateTime, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Updates the month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithMonth(this DateTime date, int month, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2000/02/28 =&gt; 2000/01/31.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithMonth_System_DateTimeOffset_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithMonth(System.DateTimeOffset%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L39">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithMonth_System_DateTimeOffset_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonth(System.DateTimeOffset,System.Int32)">WithMonth(DateTimeOffset, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithMonth(this DateTimeOffset date, int month)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithMonth_System_DateTimeOffset_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithMonth(System.DateTimeOffset%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L47">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithMonth_System_DateTimeOffset_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonth(System.DateTimeOffset,System.Int32,System.Boolean)">WithMonth(DateTimeOffset, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Updates the month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithMonth(this DateTimeOffset date, int month, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2000/02/28 =&gt; 2000/01/31.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_System_DateTime_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithMonthAndDay(System.DateTime%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L112">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonthAndDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_System_DateTime_System_Int32_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonthAndDay(System.DateTime,System.Int32,System.Int32)">WithMonthAndDay(DateTime, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the month and the day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithMonthAndDay(this DateTime date, int month, int day)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">day</span></td>
        <td><p>The day.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_System_DateTime_System_Int32_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithMonthAndDay(System.DateTime%2CSystem.Int32%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L122">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonthAndDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_System_DateTime_System_Int32_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonthAndDay(System.DateTime,System.Int32,System.Int32,System.Boolean)">WithMonthAndDay(DateTime, Int32, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Updates the month and the day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithMonthAndDay(this DateTime date, int month, int day, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">day</span></td>
        <td><p>The day.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2001/02/28 =&gt; 2004/02/29.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_System_DateTimeOffset_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithMonthAndDay(System.DateTimeOffset%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L121">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonthAndDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_System_DateTimeOffset_System_Int32_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonthAndDay(System.DateTimeOffset,System.Int32,System.Int32)">WithMonthAndDay(DateTimeOffset, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the month and the day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithMonthAndDay(this DateTimeOffset date, int month, int day)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">day</span></td>
        <td><p>The day.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_System_DateTimeOffset_System_Int32_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithMonthAndDay(System.DateTimeOffset%2CSystem.Int32%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L131">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonthAndDay*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithMonthAndDay_System_DateTimeOffset_System_Int32_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.WithMonthAndDay(System.DateTimeOffset,System.Int32,System.Int32,System.Boolean)">WithMonthAndDay(DateTimeOffset, Int32, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Updates the month and the day of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithMonthAndDay(this DateTimeOffset date, int month, int day, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">day</span></td>
        <td><p>The day.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2001/02/28 =&gt; 2004/02/29.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithYear_System_DateTime_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithYear(System.DateTime%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L71">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithYear_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithYear_System_DateTime_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYear(System.DateTime,System.Int32)">WithYear(DateTime, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithYear(this DateTime date, int year)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">year</span></td>
        <td><p>The year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithYear_System_DateTime_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithYear(System.DateTime%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L79">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithYear_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithYear_System_DateTime_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYear(System.DateTime,System.Int32,System.Boolean)">WithYear(DateTime, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Updates the year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithYear(this DateTime date, int year, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">year</span></td>
        <td><p>The year.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2001/02/28 =&gt; 2004/02/29.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithYear_System_DateTimeOffset_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithYear(System.DateTimeOffset%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L80">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithYear_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithYear_System_DateTimeOffset_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYear(System.DateTimeOffset,System.Int32)">WithYear(DateTimeOffset, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithYear(this DateTimeOffset date, int year)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">year</span></td>
        <td><p>The year.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithYear_System_DateTimeOffset_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithYear(System.DateTimeOffset%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L88">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithYear_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYear*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithYear_System_DateTimeOffset_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYear(System.DateTimeOffset,System.Int32,System.Boolean)">WithYear(DateTimeOffset, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Updates the year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithYear(this DateTimeOffset date, int year, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">year</span></td>
        <td><p>The year.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2001/02/28 =&gt; 2004/02/29.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_System_DateTime_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithYearAndMonth(System.DateTime%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L133">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYearAndMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_System_DateTime_System_Int32_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYearAndMonth(System.DateTime,System.Int32,System.Int32)">WithYearAndMonth(DateTime, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the year and the month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithYearAndMonth(this DateTime date, int year, int month)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">year</span></td>
        <td><p>The year.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_System_DateTime_System_Int32_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithYearAndMonth(System.DateTime%2CSystem.Int32%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L143">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYearAndMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_System_DateTime_System_Int32_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYearAndMonth(System.DateTime,System.Int32,System.Int32,System.Boolean)">WithYearAndMonth(DateTime, Int32, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Updates the month and the year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTime WithYearAndMonth(this DateTime date, int year, int month, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">year</span></td>
        <td><p>The year.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2001/02/28 =&gt; 2004/02/29.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_System_DateTimeOffset_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithYearAndMonth(System.DateTimeOffset%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L142">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYearAndMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_System_DateTimeOffset_System_Int32_System_Int32_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYearAndMonth(System.DateTimeOffset,System.Int32,System.Int32)">WithYearAndMonth(DateTimeOffset, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Updates the year and the month of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithYearAndMonth(this DateTimeOffset date, int year, int month)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">year</span></td>
        <td><p>The year.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_System_DateTimeOffset_System_Int32_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions.WithYearAndMonth(System.DateTimeOffset%2CSystem.Int32%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.generated.cs/#L152">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYearAndMonth*"></a>
  <h4 id="CodeJam_Dates_DateTimeExtensions_WithYearAndMonth_System_DateTimeOffset_System_Int32_System_Int32_System_Boolean_" data-uid="CodeJam.Dates.DateTimeExtensions.WithYearAndMonth(System.DateTimeOffset,System.Int32,System.Int32,System.Boolean)">WithYearAndMonth(DateTimeOffset, Int32, Int32, Boolean)</h4>
  <div class="markdown level1 summary"><p>Updates the month and the year of the date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static DateTimeOffset WithYearAndMonth(this DateTimeOffset date, int year, int month, bool useLastDay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">year</span></td>
        <td><p>The year.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">month</span></td>
        <td><p>The month.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">useLastDay</span></td>
        <td><p>if set to <code>true</code>, the call preserves last day of the month, 2001/02/28 =&gt; 2004/02/29.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><p>Updated date.</p>
</td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeExtensions.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeExtensions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeExtensions.cs/#L10" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            Copyright � 2015-2017
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
